/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.xgb.entity;

import org.hibernate.validator.constraints.Length;

import com.zcm.common.persistence.DataEntity;

/**
 * XgbBoomStockEntity
 * @author www
 * @version 2018-10-07
 */
public class XgbBoomStock extends DataEntity<XgbBoomStock> {
	
	private static final long serialVersionUID = 1L;
	private String symbol;		// symbol
	private String title;		// title
	private String reason;		// reason
	private Double curPrice;		// cur_price
	private Double pxChangeRate;		// px_change_rate
	private Double turnoverRatio;		// turnover_ratio
	private Double circulationValue;		// circulation_value
	private Double totalValue;		// total_value
	private Integer firstRaiseTime;		// first_raise_time
	private Integer lastBoomTime;		// last_boom_time
	private Integer lastRaiseTime;		// last_raise_time
	private Integer openCount;		// open_count
	private Integer continueBoardCount;		// continue_board_count
	private String originId;		// origin_id
	private String day;		// day
	
	public XgbBoomStock() {
		super();
	}

	public XgbBoomStock(String id){
		super(id);
	}

	@Length(min=1, max=32, message="symbol长度必须介于 1 和 32 之间")
	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	
	@Length(min=0, max=32, message="title长度必须介于 0 和 32 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Double getCurPrice() {
		return curPrice;
	}

	public void setCurPrice(Double curPrice) {
		this.curPrice = curPrice;
	}

	public Double getPxChangeRate() {
		return pxChangeRate;
	}

	public void setPxChangeRate(Double pxChangeRate) {
		this.pxChangeRate = pxChangeRate;
	}

	public Double getTurnoverRatio() {
		return turnoverRatio;
	}

	public void setTurnoverRatio(Double turnoverRatio) {
		this.turnoverRatio = turnoverRatio;
	}

	public Double getCirculationValue() {
		return circulationValue;
	}

	public void setCirculationValue(Double circulationValue) {
		this.circulationValue = circulationValue;
	}

	public Double getTotalValue() {
		return totalValue;
	}

	public void setTotalValue(Double totalValue) {
		this.totalValue = totalValue;
	}

	public Integer getFirstRaiseTime() {
		return firstRaiseTime;
	}

	public void setFirstRaiseTime(Integer firstRaiseTime) {
		this.firstRaiseTime = firstRaiseTime;
	}

	public Integer getLastBoomTime() {
		return lastBoomTime;
	}

	public void setLastBoomTime(Integer lastBoomTime) {
		this.lastBoomTime = lastBoomTime;
	}

	public Integer getLastRaiseTime() {
		return lastRaiseTime;
	}

	public void setLastRaiseTime(Integer lastRaiseTime) {
		this.lastRaiseTime = lastRaiseTime;
	}

	public Integer getOpenCount() {
		return openCount;
	}

	public void setOpenCount(Integer openCount) {
		this.openCount = openCount;
	}

	public Integer getContinueBoardCount() {
		return continueBoardCount;
	}

	public void setContinueBoardCount(Integer continueBoardCount) {
		this.continueBoardCount = continueBoardCount;
	}

	@Length(min=1, max=64, message="origin_id长度必须介于 1 和 64 之间")
	public String getOriginId() {
		return originId;
	}

	public void setOriginId(String originId) {
		this.originId = originId;
	}
	
	@Length(min=1, max=20, message="day长度必须介于 1 和 20 之间")
	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}
	
}